package com.csc.dao;

import java.util.List;

import com.csc.bean.SystemAccountBean;
import com.csc.domain.TransactionHistory;

public interface SystemRequestDAO {
	// Truong Le Bao
	public boolean requestResetPassword(String username, String reason);

	// Truong Le Bao
	public List<TransactionHistory> getListNewTransactionReset();

	// Truong Le Bao
	public boolean processRequestUpdateProfile(SystemAccountBean acc,
			String userImpact);

	// Truong Le Bao
	public boolean processRequestResetPassword(String transactionID, String newPassword, String date,
			String currentUser, String userAffect, int status);

	// Truong Le Bao
	public TransactionHistory getTransactionByID(int ID);

	// Truong Le Bao
	public boolean isAccountStatusRequestAvailable(String username);
	
	// Truong Le Bao
	public List<TransactionHistory> searchAdvanceNewRequests(String fullname,
			String username, String role, String from, String to);
}
